<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Livox SDK API: sdk_core/include/third_party/spdlog/spdlog/sinks/syslog_sink.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="1.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Livox SDK API
   &#160;<span id="projectnumber">V2.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('syslog__sink_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">syslog_sink.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="syslog__sink_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Copyright(c) 2015 Gabi Melman.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// Distributed under the MIT License (http://opensource.org/licenses/MIT)</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef SPDLOG_H</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="spdlog_8h.html">spdlog/spdlog.h</a>&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="base__sink_8h.html">spdlog/sinks/base_sink.h</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;array&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;syslog.h&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacespdlog.html">spdlog</a> {</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">namespace </span>sinks {</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Mutex&gt;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1syslog__sink.html">   26</a></span>&#160;<span class="keyword">class </span><a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html">syslog_sink</a> : <span class="keyword">public</span> <a class="code" href="classspdlog_1_1sinks_1_1base__sink.html">base_sink</a>&lt;Mutex&gt;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;{</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <span class="comment">//</span></div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1syslog__sink.html#acc60de632a07b329aeba41ee48ced4f6">   30</a></span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html#acc60de632a07b329aeba41ee48ced4f6">syslog_sink</a>(std::string ident = <span class="stringliteral">&quot;&quot;</span>, <span class="keywordtype">int</span> syslog_option = 0, <span class="keywordtype">int</span> syslog_facility = LOG_USER)</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        : ident_(<a class="code" href="namespacestd.html">std</a>::move(ident))</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    {</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        priorities_[<span class="keyword">static_cast&lt;</span><span class="keywordtype">size_t</span><span class="keyword">&gt;</span>(<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8badd5891a1416461ee9e7d7e19d41af51f">level::trace</a>)] = LOG_DEBUG;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        priorities_[<span class="keyword">static_cast&lt;</span><span class="keywordtype">size_t</span><span class="keyword">&gt;</span>(<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8baea632f71a316dac4dbaf2d98534c7ca5">level::debug</a>)] = LOG_DEBUG;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        priorities_[<span class="keyword">static_cast&lt;</span><span class="keywordtype">size_t</span><span class="keyword">&gt;</span>(<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba7f09db55ad64d87e4124f10582cb016f">level::info</a>)] = LOG_INFO;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        priorities_[<span class="keyword">static_cast&lt;</span><span class="keywordtype">size_t</span><span class="keyword">&gt;</span>(<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba6c371ca09668dd308a1997eab47def05">level::warn</a>)] = LOG_WARNING;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        priorities_[<span class="keyword">static_cast&lt;</span><span class="keywordtype">size_t</span><span class="keyword">&gt;</span>(<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba4d723e295b98a75c1263d85fc165045f">level::err</a>)] = LOG_ERR;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        priorities_[<span class="keyword">static_cast&lt;</span><span class="keywordtype">size_t</span><span class="keyword">&gt;</span>(<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba309b214a2b8629b6cf0048ce916e8a58">level::critical</a>)] = LOG_CRIT;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        priorities_[<span class="keyword">static_cast&lt;</span><span class="keywordtype">size_t</span><span class="keyword">&gt;</span>(<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba917591d8c0e89f6e6247c95c67809a1a">level::off</a>)] = LOG_INFO;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="comment">// set ident to be program name if empty</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        ::openlog(ident_.empty() ? <span class="keyword">nullptr</span> : ident_.c_str(), syslog_option, syslog_facility);</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    }</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1syslog__sink.html#ae440dafe6eca68065ac0b6438761ac38">   45</a></span>&#160;    <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html#ae440dafe6eca68065ac0b6438761ac38">~syslog_sink</a>()<span class="keyword"> override</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        ::closelog();</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    }</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html#acc60de632a07b329aeba41ee48ced4f6">syslog_sink</a>(<span class="keyword">const</span> <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html">syslog_sink</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html">syslog_sink</a> &amp;<a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html#a3e2454370f91c3fe2befb3f24e25ede7">operator=</a>(<span class="keyword">const</span> <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html">syslog_sink</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1syslog__sink.html#a303bccf40cd03356510391c493078005">   54</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html#a303bccf40cd03356510391c493078005">sink_it_</a>(<span class="keyword">const</span> <a class="code" href="structspdlog_1_1details_1_1log__msg.html">details::log_msg</a> &amp;msg)<span class="keyword"> override</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        ::syslog(syslog_prio_from_level(msg), <span class="stringliteral">&quot;%s&quot;</span>, <a class="code" href="namespacefmt_1_1v5.html#af7906102d07e0d93b609aef6c05fc27a">fmt::to_string</a>(msg.<a class="code" href="structspdlog_1_1details_1_1log__msg.html#a33fd07702d73245581fccd8d0d04b82a">payload</a>).c_str());</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    }</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1syslog__sink.html#a6afb5ba7ef5e5f2950e624ec650fb562">   59</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html#a6afb5ba7ef5e5f2950e624ec650fb562">flush_</a>()<span class="keyword"> override </span>{}</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    std::array&lt;int, 7&gt; priorities_;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="comment">// must store the ident because the man says openlog might use the pointer as</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="comment">// is and not a string copy</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keyword">const</span> std::string ident_;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="comment">//</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="comment">// Simply maps spdlog&#39;s log level to syslog priority level.</span></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="comment">//</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keywordtype">int</span> syslog_prio_from_level(<span class="keyword">const</span> <a class="code" href="structspdlog_1_1details_1_1log__msg.html">details::log_msg</a> &amp;msg)<span class="keyword"> const</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keywordflow">return</span> priorities_[<span class="keyword">static_cast&lt;</span><span class="keywordtype">size_t</span><span class="keyword">&gt;</span>(msg.<a class="code" href="structspdlog_1_1details_1_1log__msg.html#a4142f4d66140a1ea24053311ebea5706">level</a>)];</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    }</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;};</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="namespacespdlog_1_1sinks.html#a6674644a4ab8a7579e45bd79dc107a70">   76</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html">syslog_sink_mt</a> = <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html">syslog_sink&lt;std::mutex&gt;</a>;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="namespacespdlog_1_1sinks.html#a83f4d6616a2fbf3473a6a979647b5139">   77</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html">syslog_sink_st</a> = <a class="code" href="classspdlog_1_1sinks_1_1syslog__sink.html">syslog_sink&lt;details::null_mutex&gt;</a>;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;} <span class="comment">// namespace sinks</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">// Create and register a syslog logger</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Factory = default_factory&gt;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="namespacespdlog.html#a49974c7465d12f994929f70c0caeeb7c">   82</a></span>&#160;<span class="keyword">inline</span> std::shared_ptr&lt;logger&gt; <a class="code" href="namespacespdlog.html#a49974c7465d12f994929f70c0caeeb7c">syslog_logger_mt</a>(</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keyword">const</span> std::string &amp;logger_name, <span class="keyword">const</span> std::string &amp;syslog_ident = <span class="stringliteral">&quot;&quot;</span>, <span class="keywordtype">int</span> syslog_option = 0, <span class="keywordtype">int</span> syslog_facility = (1 &lt;&lt; 3))</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;{</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="keywordflow">return</span> Factory::template create&lt;sinks::syslog_sink_mt&gt;(logger_name, syslog_ident, syslog_option, syslog_facility);</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;}</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Factory = default_factory&gt;</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="namespacespdlog.html#a2b5f25193cf4478d74cf9402a120c902">   89</a></span>&#160;<span class="keyword">inline</span> std::shared_ptr&lt;logger&gt; <a class="code" href="namespacespdlog.html#a2b5f25193cf4478d74cf9402a120c902">syslog_logger_st</a>(</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keyword">const</span> std::string &amp;logger_name, <span class="keyword">const</span> std::string &amp;syslog_ident = <span class="stringliteral">&quot;&quot;</span>, <span class="keywordtype">int</span> syslog_option = 0, <span class="keywordtype">int</span> syslog_facility = (1 &lt;&lt; 3))</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;{</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordflow">return</span> Factory::template create&lt;sinks::syslog_sink_st&gt;(logger_name, syslog_ident, syslog_option, syslog_facility);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;}</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;} <span class="comment">// namespace spdlog</span></div><div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8ba6c371ca09668dd308a1997eab47def05"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba6c371ca09668dd308a1997eab47def05">spdlog::level::warn</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00116">common.h:116</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8ba917591d8c0e89f6e6247c95c67809a1a"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba917591d8c0e89f6e6247c95c67809a1a">spdlog::level::off</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00119">common.h:119</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1syslog__sink_html"><div class="ttname"><a href="classspdlog_1_1sinks_1_1syslog__sink.html">spdlog::sinks::syslog_sink</a></div><div class="ttdef"><b>Definition:</b> <a href="syslog__sink_8h_source.html#l00026">syslog_sink.h:26</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1syslog__sink_html_a3e2454370f91c3fe2befb3f24e25ede7"><div class="ttname"><a href="classspdlog_1_1sinks_1_1syslog__sink.html#a3e2454370f91c3fe2befb3f24e25ede7">spdlog::sinks::syslog_sink::operator=</a></div><div class="ttdeci">syslog_sink &amp; operator=(const syslog_sink &amp;)=delete</div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00297">format.h:297</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8ba7f09db55ad64d87e4124f10582cb016f"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba7f09db55ad64d87e4124f10582cb016f">spdlog::level::info</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00115">common.h:115</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8baea632f71a316dac4dbaf2d98534c7ca5"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8baea632f71a316dac4dbaf2d98534c7ca5">spdlog::level::debug</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00114">common.h:114</a></div></div>
<div class="ttc" id="namespacespdlog_html"><div class="ttname"><a href="namespacespdlog.html">spdlog</a></div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00027">async.h:27</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1syslog__sink_html_a303bccf40cd03356510391c493078005"><div class="ttname"><a href="classspdlog_1_1sinks_1_1syslog__sink.html#a303bccf40cd03356510391c493078005">spdlog::sinks::syslog_sink::sink_it_</a></div><div class="ttdeci">void sink_it_(const details::log_msg &amp;msg) override</div><div class="ttdef"><b>Definition:</b> <a href="syslog__sink_8h_source.html#l00054">syslog_sink.h:54</a></div></div>
<div class="ttc" id="namespacespdlog_html_a2b5f25193cf4478d74cf9402a120c902"><div class="ttname"><a href="namespacespdlog.html#a2b5f25193cf4478d74cf9402a120c902">spdlog::syslog_logger_st</a></div><div class="ttdeci">std::shared_ptr&lt; logger &gt; syslog_logger_st(const std::string &amp;logger_name, const std::string &amp;syslog_ident=&quot;&quot;, int syslog_option=0, int syslog_facility=(1&lt;&lt; 3))</div><div class="ttdef"><b>Definition:</b> <a href="syslog__sink_8h_source.html#l00089">syslog_sink.h:89</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8badd5891a1416461ee9e7d7e19d41af51f"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8badd5891a1416461ee9e7d7e19d41af51f">spdlog::level::trace</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00113">common.h:113</a></div></div>
<div class="ttc" id="structspdlog_1_1details_1_1log__msg_html_a4142f4d66140a1ea24053311ebea5706"><div class="ttname"><a href="structspdlog_1_1details_1_1log__msg.html#a4142f4d66140a1ea24053311ebea5706">spdlog::details::log_msg::level</a></div><div class="ttdeci">level::level_enum level</div><div class="ttdef"><b>Definition:</b> <a href="log__msg_8h_source.html#l00042">log_msg.h:42</a></div></div>
<div class="ttc" id="spdlog_8h_html"><div class="ttname"><a href="spdlog_8h.html">spdlog.h</a></div></div>
<div class="ttc" id="structspdlog_1_1details_1_1log__msg_html"><div class="ttname"><a href="structspdlog_1_1details_1_1log__msg.html">spdlog::details::log_msg</a></div><div class="ttdef"><b>Definition:</b> <a href="log__msg_8h_source.html#l00016">log_msg.h:16</a></div></div>
<div class="ttc" id="base__sink_8h_html"><div class="ttname"><a href="base__sink_8h.html">base_sink.h</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1syslog__sink_html_ae440dafe6eca68065ac0b6438761ac38"><div class="ttname"><a href="classspdlog_1_1sinks_1_1syslog__sink.html#ae440dafe6eca68065ac0b6438761ac38">spdlog::sinks::syslog_sink::~syslog_sink</a></div><div class="ttdeci">~syslog_sink() override</div><div class="ttdef"><b>Definition:</b> <a href="syslog__sink_8h_source.html#l00045">syslog_sink.h:45</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8ba4d723e295b98a75c1263d85fc165045f"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba4d723e295b98a75c1263d85fc165045f">spdlog::level::err</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00117">common.h:117</a></div></div>
<div class="ttc" id="namespacespdlog_html_a49974c7465d12f994929f70c0caeeb7c"><div class="ttname"><a href="namespacespdlog.html#a49974c7465d12f994929f70c0caeeb7c">spdlog::syslog_logger_mt</a></div><div class="ttdeci">std::shared_ptr&lt; logger &gt; syslog_logger_mt(const std::string &amp;logger_name, const std::string &amp;syslog_ident=&quot;&quot;, int syslog_option=0, int syslog_facility=(1&lt;&lt; 3))</div><div class="ttdef"><b>Definition:</b> <a href="syslog__sink_8h_source.html#l00082">syslog_sink.h:82</a></div></div>
<div class="ttc" id="structspdlog_1_1details_1_1log__msg_html_a33fd07702d73245581fccd8d0d04b82a"><div class="ttname"><a href="structspdlog_1_1details_1_1log__msg.html#a33fd07702d73245581fccd8d0d04b82a">spdlog::details::log_msg::payload</a></div><div class="ttdeci">const string_view_t payload</div><div class="ttdef"><b>Definition:</b> <a href="log__msg_8h_source.html#l00052">log_msg.h:52</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_af7906102d07e0d93b609aef6c05fc27a"><div class="ttname"><a href="namespacefmt_1_1v5.html#af7906102d07e0d93b609aef6c05fc27a">fmt::v5::to_string</a></div><div class="ttdeci">std::string to_string(const T &amp;value)</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l03209">format.h:3209</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1syslog__sink_html_a6afb5ba7ef5e5f2950e624ec650fb562"><div class="ttname"><a href="classspdlog_1_1sinks_1_1syslog__sink.html#a6afb5ba7ef5e5f2950e624ec650fb562">spdlog::sinks::syslog_sink::flush_</a></div><div class="ttdeci">void flush_() override</div><div class="ttdef"><b>Definition:</b> <a href="syslog__sink_8h_source.html#l00059">syslog_sink.h:59</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1syslog__sink_html_acc60de632a07b329aeba41ee48ced4f6"><div class="ttname"><a href="classspdlog_1_1sinks_1_1syslog__sink.html#acc60de632a07b329aeba41ee48ced4f6">spdlog::sinks::syslog_sink::syslog_sink</a></div><div class="ttdeci">syslog_sink(std::string ident=&quot;&quot;, int syslog_option=0, int syslog_facility=LOG_USER)</div><div class="ttdef"><b>Definition:</b> <a href="syslog__sink_8h_source.html#l00030">syslog_sink.h:30</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1base__sink_html"><div class="ttname"><a href="classspdlog_1_1sinks_1_1base__sink.html">spdlog::sinks::base_sink</a></div><div class="ttdef"><b>Definition:</b> <a href="base__sink_8h_source.html#l00022">base_sink.h:22</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8ba309b214a2b8629b6cf0048ce916e8a58"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba309b214a2b8629b6cf0048ce916e8a58">spdlog::level::critical</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00118">common.h:118</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_5f1136fe404e0a548faf586fae339a6a.html">sdk_core</a></li><li class="navelem"><a class="el" href="dir_fef6b6f1028f30fedf17225feaaa02fe.html">include</a></li><li class="navelem"><a class="el" href="dir_7bb3e31efd6b819bbb0704cee4a66d41.html">third_party</a></li><li class="navelem"><a class="el" href="dir_cf58c3a45797022668a1e269b5315a33.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_248a80cf6760c7a1ab13394a1c16f7b2.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_92a4bcc0ca1142b221c58a95a60bf3b6.html">sinks</a></li><li class="navelem"><a class="el" href="syslog__sink_8h.html">syslog_sink.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
